package com.product.easyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.ToString;

/**
 * @description: UserExcelProperty
 * easyExcel模板
 * @date: 2021/3/24
 * @author: 王瑾
 */
@Data
@ToString
public class UserExcelProperty extends BaseRowModel {

    @ExcelProperty(value = "姓名", index = 0)
    private String name;

    @ExcelProperty(value = "性别", index = 1)
    private String sex;

    @ExcelProperty(value = "年龄", index = 2)
    private Integer age;
}